package com.zerotwo.exam.mails.feign;

import com.zerotwo.exam.common.core.result.Result;
import com.zerotwo.exam.mails.model.Mails;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 02
 * @version 1.0
 * @Date 2024/7/5
 * @Description
 */
@FeignClient(value = "exam-mails",path = "/mails")
public interface MailsServiceClient {
    @PostMapping("/send-mail")
    public Result<Boolean> sendMail(@RequestBody Mails mailVo);
}
